﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="DatHang.aspx.cs" Inherits="DatHang" Title="Untitled Page" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="place1" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="place2" runat="Server">
<script type="text/javascript">
    function checkMenu(obj) 

    {
       
    }
    </script>
    <fieldset class="FieldsetTitle">
        <legend class="LegendTitle">Đặt Hàng </legend>
        <div>
            <table width="100%">
                <tr>
                    <td align="left" style="width: 176px">
                        <b>Món Ăn : </b>
                    </td>
                    <td align="left">
                        <asp:RadioButton ID="rdFood" runat="server" Checked="true" OnCheckedChanged="rdFood_CheckedChanged" />
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 176px">
                        <b>Thực Đơn : </b>
                    </td>
                    <td align="left">
                        <asp:RadioButton ID="rdMenu" runat="server" OnCheckedChanged="rdMenu_CheckedChanged" OnPreRender="rdMenu_PreRender" />
                    </td>
                </tr>
            </table>
        </div>
        <div id="divFood" runat="server" visible="true">
            <table width="100%">
                <tr>
                    <td align="left" style="width: 173px">
                        <b>Danh Sách Món Ăn : </b>
                    </td>
                    <td align="left">
                        <div id="Div1" class="productimage" runat="server">
                            <asp:ListBox ID="lstFood" runat="server" DataTextField="Name" DataValueField="FoodId">
                            </asp:ListBox>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div id="divMenu" runat="server" visible="false">
            <table width="100%">
                <tr>
                    <td align="left" style="width: 173px">
                        <b>Danh Sách Thực Đơn : </b>
                    </td>
                    <td align="left">
                        <div id="Div2" class="productimage" runat="server">
                            <asp:ListBox ID="lstMenu" runat="server" DataTextField="Name" DataValueField="MenuId">
                            </asp:ListBox>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <table width="100%">
                <tr>
                    <td align="left" style="width: 176px">
                        <b>Hinh Thức Thanh Toán : </b>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="DropDownList1" runat="server">
                            <asp:ListItem Text="Card" Value="Card"></asp:ListItem>
                            <asp:ListItem Text="Bank" Value="Bank"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 176px">
                        <b>Giá : </b>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 176px">
                        <b>Mã Loại Sản Phẩm : </b>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtMaLoaiSP" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 176px">
                        <b>Khách Hàng : </b>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtKhachHang" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 176px">
                        <b>Số Lượng : </b>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtSoLuong" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </table>
            <table>
                <tr>
                    <td align="left">
                    </td>
                    <td align="left">
                        <asp:Button ID="btnAdd" runat="server" Text="Thêm" Width="50px" OnClick="btnAdd_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="place3" runat="Server">
</asp:Content>
